namespace BLL.Classes
{
    using System.Collections;

    public class Category
    {
        private int _ID = 0;
        private string _title;
        private string _description;

        private Category _parent;
        private IList _subCategories;

        public Category(int id, string title, string description, Category category, IList subCategories)
        {

        }
        public int ID
        {
            get { return this._ID; }
            set { this._ID = value; }
        }

        public string Description
        {
            get { return this._description; }
            set { this._description = value; }
        }

        public Category Parent
        {
            get { return this._parent; }
            set { this._parent = value; }
        }

        public IList SubCategories
        {
            get { return this._subCategories; }
            set { this._subCategories = value; }
        }

        public string Title
        {
            get { return this._title; }
            set { this._title = value; }
        }
    }

}
